package wang.knner.springboothelloworld.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloWorldController {

    @RequestMapping("/")
    public String index() {
        return "Version:v1.1 Hello Spring Boot 2.0! API: /project for more infomation!";
    }
	
    @RequestMapping("/hello")
    public String hello() {
        return "Hello World from https://knner.wang !";
    }
}
